<?php 

class ProductController extends Controller{

	private $model;
	
	public function __construct(){
		$this->model = new ProductModel();
	}
	
	public function buscarTodos(){
		$data = $this->model->buscarTodos();
		echo json_encode($data);
	}
	
}

?>